package com.noovo.comport.serial;


/**
 * @author benjaminwan
 */
public class SerialBean {
	private byte[] bRec = null;
	private int port;
	
	public SerialBean(byte[] buffer, int size) {
		bRec=new byte[size];
		for (int i = 0; i < size; i++)
		{
			bRec[i]=buffer[i];
		}
	}

	public byte[] getBuffer() {
		return bRec;
	}

	public int getPort() {
		return port;
	}

	public void setPort(int port) {
		this.port = port;
	}

}